/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 配色方案 */
:root {
    --primary-color: #FF6B6B; /* 主色调-橙色 */
    --secondary-color: #4ECDC4; /* 辅助色-蓝色 */
    --background-color: #F5F5F5; /* 背景色 */
}

body {
    font-family: 'Arial', '微软雅黑', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
}

/* 头部样式 */
.header {
    background-color: var(--primary-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Brush Script MT', cursive;
    font-size: 2rem;
    color: white;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Banner轮播 */
.banner {
    height: 400px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* 主要内容区域 */
.main-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 卡片布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* 底部样式 */
.footer {
    background-color: #333;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .banner {
        height: 300px;
    }

    .mobile-menu-btn {
        display: block;
        color: white;
        font-size: 1.5rem;
    }
}


/* 新增成员页面样式 */
.member-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    }
    
    .duty-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    }
    
    .duty-table th,
    .duty-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
    }
    
    .duty-table th {
    background-color: var(--primary-color);
    color: white;
    }
    
    /* 故事时间线样式 */
    .timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 2rem;
    }
    
    .timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 20px;
    border-left: 3px solid var(--secondary-color);
    }
    
    .timeline-date {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    }
    
    /* 关于我们页面样式 */
    .about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    }
    
    .about-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    }
    
    .contact-info {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1rem;
    }